package cn.smart.epic;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

/**
 * @Auther Uncle_Z
 * @date 2017/9/3 22:57
 * @Email:2545375@qq.com
 * @Descrition
 * @since 1.0
 */

@SpringBootApplication
public class EpicApplication  extends WebMvcConfigurerAdapter{

    protected final static Logger LOGGER= LoggerFactory.getLogger(EpicApplication.class);

    public static void main(String[] args) {
        SpringApplication application=new SpringApplication(EpicApplication.class);
        application.setBannerMode(Banner.Mode.OFF);
        application.run(args);
        LOGGER.info("EpicApplication is success");
    }
}
